home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / FireMan.swf / scripts / frame_2565 / PlaceObject2_112_1 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2008-09-12  |  318 b   |  21 lines

  1. onClipEvent(enterFrame){
  2.    if(begin)
  3.    {
  4.       dorumble = true;
  5.       begin = false;
  6.       c = 0;
  7.    }
  8.    if(dorumble)
  9.    {
  10.       dy *= -1;
  11.       _root._y += dy;
  12.       _root._x += dy * 2;
  13.       c += 1;
  14.       if(c > DELAY)
  15.       {
  16.          dorumble = false;
  17.          _root._y = yi;
  18.       }
  19.    }
  20. }
  21.